using System;
using System.Data;
using System.Collections;
using System.Windows.Forms;

namespace CatalogManager
{
	/// <summary>
	/// Summary description for VirtualCatalogNode.
	/// </summary>
	public class VirtualCatalogNode : TreeNode
	{
		private DataRow VirtCatalogProperty = null;
		private DataSet catalogproducts = null;
		public ArrayList catLangauges = new ArrayList();

		public VirtualCatalogNode()
		{

		}

		public VirtualCatalogNode(DataRow dr)
		{
			VirtCatalogProperty = dr;
			base.Text = dr["CatalogName"].ToString();
		}

		public DataRow CatalogProperties
		{
			get
			{
				return VirtCatalogProperty;
			}
		}

		public DataSet Catalogproducts
		{
			get
			{
				return catalogproducts;
			}
			set
			{
				catalogproducts = value;
			}
		}
	}
}
